package com.yykj.hospital.server.dto.banci.doctor.client;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.yykj.common.util.serializer.LocalTime2StringSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalTime;

@Data
public class DoctorTimeOnline {

    @ApiModelProperty("开始时间")
    @JsonSerialize(using = LocalTime2StringSerializer.class)
    private LocalTime startTime;
    @ApiModelProperty("结束时间")
    @JsonSerialize(using = LocalTime2StringSerializer.class)
    private LocalTime endTime;

    @ApiModelProperty("图文是否可用")
    private Boolean picAvailable = false;

    @ApiModelProperty("视频是否可用")
    private Boolean videoAvailable = false;

    @ApiModelProperty("语音是否可用")
    private Boolean voiceAvailable = false;

}
